package com.example.myapplication.pojo;


/**
 * @author : Lin
 * @version : [v1.0]
 * @className : IotDataObj
 * @description : 描述说明该类的功能
 * @createTime : 2023/7/2 19:20
 * @updateUser : Lin
 * @updateTime : 2023/7/2 19:20
 * @updateRemark : 描述说明本次修改内容
 */


public class IotDataObj {
    private Integer id;
    private String timestamp;
    private Integer Temperature;
    private Integer Humidity;
    private Integer ZhuoDu;
    private Integer Distance;
    private Double GPSN;
    private Double GPSE;

    public IotDataObj(Integer id, String timestamp, Integer Temperature, Integer Humidity,
                      Integer ZhuoDu, Integer Distance, Double GPSN, Double GPSE) {
        this.id = id;
        this.timestamp = timestamp;
        this.Temperature = Temperature;
        this.Humidity = Humidity;
        this.ZhuoDu = ZhuoDu;
        this.Distance = Distance;
        this.GPSN = GPSN;
        this.GPSE = GPSE;
    }

    @Override
    public String toString() {
        return "IotDataObj{" +
                "id=" + id +
                ", Temperature=" + Temperature +
                ", Humidity=" + Humidity +
                ", ZhuoDu=" + ZhuoDu +
                ", Distance=" + Distance +
                ", GPSN=" + GPSN +
                ", GPSE='" + GPSE + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTemperature() { return Temperature;}

    public void setTemperature(Integer Temperature) {
        this.Temperature = Temperature;
    }

    public Integer getHumidity() {
        return Humidity;
    }

    public void setHumidity(Integer Humidity) {
        this.Humidity = Humidity;
    }

    public Integer getZhuoDu() { return ZhuoDu;}

    public void setZhuoDu(Integer ZhuoDu) {
        this.ZhuoDu = ZhuoDu;
    }
    public Integer getDistance() {
        return Distance;
    }

    public void setDistance(Integer Distance) {
        this.Distance = Distance;
    }

    public Double getGPSN() {
        return GPSN;
    }

    public void setGPSE(Double GPSE) {
        this.GPSE = GPSE;
    }

    public Double getGPSE() {return GPSE;}

    public void setGPSN(Double GPSN) {
        this.GPSN = GPSN;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public IotDataObj() {
        // 无参构造函数
    }
}
